﻿using System;
using System.Collections.ObjectModel;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SLInterpreter.S1
{
    public class VmBase : NotifyPropertyChangedBase
    {
        VmBase vmbase;
        public VmBase(VmBase vmbase)
        {
            this.vmbase = vmbase;
            Shapes = vmbase.Shapes;
            InitShapes();
        }

        public VmBase()
        {
            this.Shapes = new ObservableCollection<ShapeBase>();
            InitShapes();
        }

        protected virtual void InitShapes()
        {
        }
        public ObservableCollection<ShapeBase> Shapes { get; private set; }
    }
}
